home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000316_news@columbia.edu _Thu Jun 27 15:23:44 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  7KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id PAA29026 for <kermit.misc@watsun.cc.columbia.edu>; Thu, 27 Jun 1996 15:23:43 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id PAA22192 for kermit.misc@watsun; Thu, 27 Jun 1996 15:23:41 -0400 (EDT)
  4. Path: news.columbia.edu!lamont.ldeo.columbia.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!sgigate.sgi.com!mr.net!news.mr.net!wavefront.com!news
  5. From: mrdorn@wavefront.com (Mike Dorn)
  6. Newsgroups: comp.protocols.kermit.misc,comp.os.aos
  7. Subject: Re: File transfer between AOS/VS and MS-DOS
  8. Date: 23 Jun 1996 21:09:25 GMT
  9. Organization: WaveFront Communications, Inc.
  10. Lines: 117
  11. Distribution: inet
  12. Message-ID: <4qkbq5$mf2@news5.wavefront.com>
  13. References: <31CB9ADB.432C@soback.kornet.nm.kr> <4qh2ie$f7r@apakabar.cc.columbia.edu>
  14. NNTP-Posting-Host: wf-1-6.wavefront.com
  15. Mime-Version: 1.0
  16. Content-Type: Text/Plain; charset=US-ASCII
  17. X-Newsreader: WinVN 0.99.7
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:5460 comp.os.aos:764
  19.  
  20. In article <4qh2ie$f7r@apakabar.cc.columbia.edu>, fdc@watsun.cc.columbia.edu 
  21. says...
  22. >
  23. >In article <31CB9ADB.432C@soback.kornet.nm.kr>,
  24. >Dong G. Kim <kps01@soback.kornet.nm.kr> wrote:
  25. >: We are using Data General MV/60000 HA-1 and its OS is AOS/VS II.
  26. >: And we use C-Kermit and MS-Kermit protocol for file transfer between two 
  27. >: systems. It is fairly well in operation but too slow to send or receive 
  28. >: a large file. Approximately, it give us 300cps performance with 28.8Kbps 
  29. >: modem. I thought, there is no solution to improve the file transfer 
  30. >: speed.
  31. >: Recentry, I saw the FAQ list about Kermit. And I get to know Kermit is 
  32. >: not a low performance file transfer protocol.
  33. >: It said that we can tune up the Kermit to improve the speed.
  34. >: Especially, long packet size and multiple windows, etc.
  35. >: 
  36. >: And I got the current version of C-Kermit and MS-Kermit now.
  37. >: C-Kermit 5A(190) and MS-Kermit 3.14 repectively.
  38. >: Then I tested using them.
  39. >: 
  40. >: From AOS/VS to MS-DOS(download), it was great!! More than 4 or 5 times 
  41. >: faster than before. No retries at all. I had excited.
  42. >: 
  43. >: But, from MS-DOS to AOS/VS(upload), I failed every times. There were too 
  44. >: many retries. Sometimes, program aborted caused by retries. Sometimes, 
  45. >: file has been trnasferred to PC with about 100 times retries.
  46. >: You can imagine, how performance it was!
  47. >: But, I don't know why. 
  48. >: Please help to solve this problem.
  49. >: 
  50. >: The only changed parameters by me are as follows;  
  51. >: 
  52. >: set receive packet-length 2000
  53. >: set block 3
  54. >: set wind 4
  55. >:
  56. >It sounds like a lack of flow control.  The PC is sending bytes faster
  57. >than the MV system can read them, and so some of the incoming bytes are
  58. >lost before Kermit even gets a chance to read them.
  59. >
  60. >The same thing happens, by the way, on a Telnet connection.  AOS/VS
  61. >C-Kermit can send files at high speed using large packet and Window sizes,
  62. >but it can not receive them that way.
  63. >
  64. >So I think we have a lack of adequate flow control combined with a
  65. >terminal driver that is not designed to receive large amounts of input
  66. >(regardless of the communication method).
  67. >
  68. >The best solution is to enable a good method of flow control.  Start
  69. >Kermit this way:
  70. >
  71. >  ) char/on/hifc/hofc
  72. >  ) x kermit
  73. >  C-Kermit> set flow keep
  74. >
  75. >This tells AOS/VS to enable RTS/CTS flow control on your login port, and
  76. >"set flow keep" tells Kermit not to try to change the flow control on the
  77. >port.  Of course RTS/CTS must also be enabled on the modem that is
  78. >connected to the port.
  79. >
  80. >If that doesn't work, then try using Xon/Xoff software flow control:
  81. >
  82. >  ) char/on/ifc/ofc
  83. >  ) x kermit
  84. >  C-Kermit> set flow xon/xoff
  85. >
  86. >In this case you must enable LOCAL Xon/Xoff flow control in the modem.
  87. >
  88. >If you are still having trouble, then try using a smaller packet size
  89. >and/or window size when sending to AOS/VS.  Remember, the rule is:
  90. >
  91. >  For any given connection, there is an optimum combination
  92. >  of packet and window size.
  93. >
  94. >If you make it smaller, the transfer will go unnecessarily slow.  If you
  95. >make it bigger there will be errors.  The nice thing about Kermit is that
  96. >it has commands to let you control every aspect of its operation and
  97. >configure optimally for every connection.
  98. >
  99. >By the way, most of the above is covered in the manual, "Using C-Kermit",
  100. >in the file transfer section and in the AOS/VS appendix.
  101. >
  102. >Finally, you might want to look at the new C-Kermit 6.0.192 Beta test,
  103. >which is available for AOS/VS as well as UNIX and VMS.  It is in the
  104. >kermit/test directory tree on kermit.columbia.edu.
  105. >
  106. >- Frank
  107.  
  108. Remember also that DG's serial I/O does not work the same way it does on a PC 
  109. or Unix box: reads & writes are done as requests that are submitted at i/o bus 
  110. speeds to an external intelligent preprocessor (IAC,ITC, etc) which actually 
  111. performs the serial i/o at whatever baud rate, using its own separate 
  112. resources & ring buffers.  The off-loaded processor performs all character 
  113. echo, cursor positioning, simple editing and delimiter detection without help 
  114. from the main CPU.  This works fine when sending--if the progam (Kermit) 
  115. requests a transmit of a large packet of data, the os will simply split it 
  116. into pieces to send to the IAC, and send the next piece as soon as one piece 
  117. has made it into the ring buffer.  When receiving, however, you get a totally 
  118. different story.  Depending on how the Kermit program running on the DG is 
  119. written, it may be completely impossible for you to receive a packet larger 
  120. than the input ring buffer size (usually 128 bytes, unless you sysgened that 
  121. IAC for a different size buffer).  Suggest you use as large a size as 
  122. practical for DG->PC transmission, keep it under 128 for PC->DG.  If your 
  123. need for Kermit xfers are limited to a few specific serial ports, you can 
  124. re-gen that particular device to give most of the ring buffer space to the one 
  125. port, and keep the packet size below that value.  (See manuals or release 
  126. notice for your current rev of VSII for max buffer memory on your specific 
  127. serial device.)
  128.  
  129. -Good luck!
  130. ----------------------------------------------------------------
  131. Mike Dorn                    mrdorn@wavefront.com
  132. Little Canada, Minnesota
  133. The fundamental economic problem for most Americans is not that
  134. their taxes are too high, but that their wages are too low.
  135. ----------------------------------------------------------------
  136.